package com.ice.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Data
@Component
public class SysMenu extends BaseModel {


    @ApiModelProperty(value ="代码")
    private String menu_code;

    @ApiModelProperty(value ="名称")
    private String menu_name;

    @ApiModelProperty(value ="url地址")
    private String menu_url;

    @ApiModelProperty(value ="父级id")
    private String menu_parent_id;

    @ApiModelProperty(value ="级别 0为1级;")
    private Integer menu_level;

    @ApiModelProperty(value ="描述")
    private String menu_des;

    @ApiModelProperty(value ="类型")
    private String menu_type;

    /** 子菜单 */
    private List<SysMenu> childrens = new ArrayList<SysMenu>();

}
